package com.server.service.impl;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.server.entity.Goods;
import com.server.entity.User;
import com.server.mapper.GoodsMapper;
import com.server.mapper.UserMapper;
import com.server.service.GoodsService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author diving
 * @since 2024-12-07
 */
@Service
public class GoodsServiceImpl extends ServiceImpl<GoodsMapper, Goods> implements GoodsService {
	@Resource
	private GoodsMapper goodsMapper;

	@Override
	public IPage pageC(Page<Goods> page, Wrapper wrapper) {
		System.out.println("isgoodservice");
		return goodsMapper.pageC(page,wrapper);
	}
}
